//
// Created by Administrator on 2021/10/21.
//

#ifndef MRENDER_BOXBUFFERGEOMETRY_H
#define MRENDER_BOXBUFFERGEOMETRY_H


#include "../core/BufferGeometry.h"

class BoxBufferGeometry : public BufferGeometry{
private:
    /**
     * 盒子定义
     */
    float left, right, bottom, top, nearplan, farplan;

public:
    void onInit() override;
public:
    BoxBufferGeometry(float size);
    BoxBufferGeometry(float left, float right, float bottom, float top, float nearplan, float farplan);
    ~BoxBufferGeometry();
};


#endif //MRENDER_BOXBUFFERGEOMETRY_H
